@extends('manager._layouts.default')
 
@section('loginform')
 
    <div id="login" class="col-lg-4 col-lg-offset-4">
        <h3>Welcome to {{Config::get("app.sitename")}} Site Manager</h3>
        {{ Form::open( array("class"=>"form-horizontal") ) }}
            @if ($errors->has('login'))
                <div class="alert alert-error">{{ $errors->first('login', ':message') }}</div>
            @endif
 
            <div class="well">
                <div class="form-group">
                    {{ Form::label('email', 'Email', array("class" => "col-lg-3 control-label") ) }}
                    <div class="col-lg-9">
                        {{ Form::text('email', null, array("class" => "form-control") ) }}
                    </div>
                </div>
     
                <div class="form-group">
                    {{ Form::label('password', 'Password', array("class" => "col-lg-3 control-label") ) }}
                    <div class="col-lg-9">
                        {{ Form::password('password', array("class" => "form-control")) }}
                        <div class="checkbox">
                            <label>
                                <input type="checkbox" name="rememberme"> Remember me
                            </label>
                        </div>

                        {{ Form::submit('Login', array('class' => 'btn btn-primary btn-small')) }}
                    </div>
                </div>
            </div>
        {{ Form::close() }}
    </div>
 
@stop